package jwr.basic;

import java.util.Scanner;

public class GuGuDan {

	public static void main(String[] args) {
		int input;
		Scanner sc = new Scanner(System.in);
		
		System.out.println("1~9까지의 숫자를 입력해주세요.");
		input = sc.nextInt();
		sc.close();
		if(input>9 |input<1){
			System.out.println("잘못 입력하셨습니다. 1~9까지 입력해주세요.");
		}else{
			for(int i =1; i<=9;i++){
				System.out.println(input+" x "+i+" = "+ (input*i));
			}
		}
		

		
	}

}
